import request from '@/utils/request'

// 获取系统所有节点列表
export function getExamplePageList (params) {
  return request.get('/Home/Public/getSystemAllMenuList', { params: params })
}

// 获取系统所有菜单列表
export function getSystemNodeList (params) {
  return request.get('/Home/SystemMenu/getSystemNodeList', { params: params })
}

// 获取系统所有权限列表
export function getSystemAllMenuList (params) {
  return request.get('/Home/Public/getSystemAllMenuList', { params: params })
}

// 业务员选项设置
export function setSystemConfig (params) {
  return request.get('/Home/Public/setSystemConfig', { params: params })
}

// 上传文件接口
export function uploadFilmImage (data) {
  return request.post('/Home/SystemMenu/uploadFilmImage', data)
}

// 获取地区列表
export function getRegionList (params) {
  return request.get('/Home/Region/getRegionList', { params: params })
}

// 获取火影影院归属公司列表
export function getHuoYinDepartmentList (params) {
  return request.get('/Home/SystemMenu/getHuoYinDepartmentList', { params: params })
}

// 获取火影公司下面的影院
export function getHuoYinCinemaList (params) {
  return request.get('/Home/SystemMenu/getHuoYinCinemaList', { params: params })
}

// 获取火影票券类型列表
export function getHuoYinCouponTypeList (params) {
  return request.get('/Home/SystemMenu/getHuoYinCouponTypeList', { params: params })
}
